.class Lcom/xingbook/park/activity/ad;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/LoginAct;

.field private final synthetic b:Landroid/text/Editable;

.field private final synthetic c:Landroid/text/Editable;

.field private final synthetic d:Landroid/app/ProgressDialog;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/LoginAct;Landroid/text/Editable;Landroid/text/Editable;Landroid/app/ProgressDialog;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/ad;->a:Lcom/xingbook/park/activity/LoginAct;

    iput-object p2, p0, Lcom/xingbook/park/activity/ad;->b:Landroid/text/Editable;

    iput-object p3, p0, Lcom/xingbook/park/activity/ad;->c:Landroid/text/Editable;

    iput-object p4, p0, Lcom/xingbook/park/activity/ad;->d:Landroid/app/ProgressDialog;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    const/16 v0, 0xc8

    const/4 v1, -0x1

    invoke-static {}, Lcom/xingbook/park/f/s;->a()Lcom/xingbook/park/f/s;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/park/activity/ad;->b:Landroid/text/Editable;

    invoke-interface {v3}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/xingbook/park/activity/ad;->c:Landroid/text/Editable;

    invoke-interface {v4}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lcom/xingbook/park/f/s;->c(Ljava/lang/String;Ljava/lang/String;)Lcom/xingbook/park/e/c;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->e()I

    move-result v3

    if-ne v3, v0, :cond_1

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/park/activity/ad;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-virtual {v1}, Lcom/xingbook/park/activity/LoginAct;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v1

    const/4 v3, 0x1

    invoke-virtual {v1, v3}, Lcom/xingbook/c/n;->a(Z)V

    invoke-static {}, Lcom/xingbook/c/h;->a()V

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/xingbook/park/activity/ad;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v1}, Landroid/app/ProgressDialog;->dismiss()V

    iget-object v1, p0, Lcom/xingbook/park/activity/ad;->a:Lcom/xingbook/park/activity/LoginAct;

    invoke-static {v1}, Lcom/xingbook/park/activity/LoginAct;->g(Lcom/xingbook/park/activity/LoginAct;)Lcom/xingbook/park/activity/al;

    move-result-object v1

    invoke-virtual {v1, v0, v2}, Lcom/xingbook/park/activity/al;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void

    :cond_1
    move v0, v1

    goto :goto_0
.end method
